try:
    a = int(input("请输入数字a:"))
    b = int(input("请输入数字b:"))
    sum = a + b
    print("a+b的和为:", sum)
except Exception:
    print("a 或者 b的值字符类型不对")



